<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.anyline.org/des" prefix="des"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<script src="/plugin/jquery-1.11.3.min.js"></script>
  	<script src="/plugin/artdialog/artDialog.js?skin=aero"></script>
  	<script src="/plugin/anyline.js"></script>
  </head>
  <body>
  <form action="q" method="post">
  	查询条件:<br/>
  	姓名<input type="text" name="nm" value="${param.nm }"><br/>
  	电话<input type="text" name="tel" value="${param.tel }"><br/>
  	年龄<input type="text" name="ageFr" value="${param.ageFr }">-<input type="text" name="ageTo" value="${param.ageTo }"><br/>
  	<input type="submit" value="查询">
  </form>
    <a href="a.do">添加</a>
  <table border="1">
  	<tr>
  		<td>主键</td>
  		<td>姓名</td>
  		<td>电话</td>
  		<td>年龄</td>
  		<td>生日</td>
  		<td>操作</td>
  	</tr>
  	<c:forEach var="item" items="${set }">
	  	<tr id="tr${item.CD }">
	  		<td>${item.CD }</td>
	  		<td>${item.NM }</td>
	  		<td>${item.TEL }</td>
	  		<td>${item.AGE }</td>
	  		<td>${item.BIRTHDAY }</td>
	  		<td>
	  			<a href="v?cd=${item.CD }">明细</a>
	  			|
	  			<a href="u.do?cd=${item.CD }">修改</a>
	  			|
	  			<a href="javascript:void(0);" onclick="cfDel('d','${item.CD}')">删除</a>
	  		</td>
	  	</tr>
  	</c:forEach>
  </table>
  <br/>
  ${navi }
  </body>
</html>
